#
# Be sure to run `pod lib lint HCBaseModule.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'HCBaseModule'
  s.version          = '0.5.3'
  s.summary          = 'A short description of HCBaseModule.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://gitee.com/jiangqianqiu/base-module.git'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { '蒋千秋' => 'm17710755529@163.com' }
  s.source           = { :git => 'https://gitee.com/jiangqianqiu/base-module.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
  s.pod_target_xcconfig = {
      'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'
    }
  s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
  s.ios.deployment_target = '9.0'
  ##########--Macro---#########
  s.subspec 'Macro' do |macro|
  macro.ios.deployment_target = '9.0'
  macro.source_files = 'HCBaseModule/Classes/Macro/*'
  end

  ##########--Macro---#########
  s.subspec 'PublicAssets' do |asset|
  asset.ios.deployment_target = '9.0'
  asset.source_files = 'HCBaseModule/Classes/PublicAssets/*'
  asset.resource = ['HCBaseModule/Assets/PublicAssets/*']
  end

  ##########--Categary---#########
  s.subspec 'Categary' do |ct|
  ct.ios.deployment_target = '9.0'
  ct.source_files = 'HCBaseModule/Classes/Categary/*'
  end

  ##########--FDFullscreenPopGesture---#########
  s.subspec 'FDFullscreenPopGesture' do |popGes|
  popGes.ios.deployment_target = '9.0'
  popGes.source_files = 'HCBaseModule/Classes/FDFullscreenPopGesture/*'
  end

  ##########--RegualExpression---#########
  s.subspec 'RegualExpression' do |reg|
  reg.ios.deployment_target = '9.0'
  reg.source_files = 'HCBaseModule/Classes/RegualExpression/*'
  end
  ##########--RegualExpression---#########
  s.subspec 'UserManager' do |userManager|
  userManager.ios.deployment_target = '9.0'
  userManager.source_files = 'HCBaseModule/Classes/UserManager/*'
  userManager.resource = ['HCBaseModule/Assets/UserManager/*']
  end



  ##########--TwoTableList---#########
  s.subspec 'TwoTableList' do |twoTableList|
  twoTableList.ios.deployment_target = '9.0'
  twoTableList.source_files = 'HCBaseModule/Classes/TwoTableList/*'
  twoTableList.resource = ['HCBaseModule/Assets/TwoTableList/*']
  end



  ##########--view---#########
  s.subspec 'View' do |view|
  view.ios.deployment_target = '9.0'
  view.source_files = 'HCBaseModule/Classes/view/*'
  view.resource = ['HCBaseModule/Assets/View/*']
  end

  ##########--Base---#########
  s.subspec 'Base' do |base|
  base.ios.deployment_target = '9.0'
  base.source_files = 'HCBaseModule/Classes/Base/*'
  base.resource = ['HCBaseModule/Assets/Base/*']
  end

  ##########--UpdateVersionAlert---#########
  s.subspec 'UpdateVersionAlert' do |updateViersion|
  updateViersion.ios.deployment_target = '9.0'
  updateViersion.source_files = 'HCBaseModule/Classes/UpdateVersionAlert/*'
  end

  ##########--UpdateVersionAlert---#########
  s.subspec 'GaussianBlurManager' do |gb|
      gb.ios.deployment_target = '9.0'
      gb.source_files = 'HCBaseModule/Classes/GaussianBlurManager/*'
  end

  ##########--UpdateVersionAlert---#########
  s.subspec 'Protocol' do |pt|
      pt.ios.deployment_target = '9.0'
      pt.source_files = 'HCBaseModule/Classes/Protocol/*'
      
      
      
      pt.subspec 'Base' do |r|
      r.ios.deployment_target = '9.0'
      r.source_files = 'HCBaseModule/Classes/Protocol/Base/*'
      end

      
  end

  
  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  # s.dependency 'AFNetworking', '~> 2.3'
end
